export default {
  namespaced: true,
  state: {
    // 当前订单
    currentOrder: {
      id: 1,
      code: 1001, // 订单号
      items: [
        {
          id: 860319,
          minPrice: 98,
          name: '网易严选 芝芝奶茶泡泡沐浴乳 芝芝桃桃*2',
          num: 1,
          pic: 'https://dcdn.it120.cc/2021/05/18/6ab28297-2bbb-47df-9a9f-c7ef13e31539.jpg'

        },
        {
          id: 860343,
          minPrice: 98,
          name: '芝芝桃桃*2',
          num: 1,
          pic: 'https://dcdn.it120.cc/2021/05/18/6ab28297-2bbb-47df-9a9f-c7ef13e31539.jpg'

        }
      ],
      total: 168

    },
    orderContact: { // 收货人地址
      id: 1,
      name: '小霞',
      tel: 109874839454,
      address: '安徽省合肥市瑶海区XXX小区'

    }
  },
  mutations: {
    set_order_contact (state, contact) {
      state.orderContact = state
    }
  }
}
